﻿@page
@model MvcClient.Pages.CallApiModel
@{
    ViewData["Title"] = "CallApi";

    var signedIn = User.Identity.IsAuthenticated;
}

<h2>CallApi</h2>

<h2>@ViewData["Title"]</h2>
<h3>@Model.Message</h3>

<p>Use this area to provide additional information.</p>

<dl>
    @foreach (var claim in User.Claims)
    {
        <dt>@claim.Type</dt>
        <dd>@claim.Value</dd>
    }
</dl>
<p>Api端用户的Claims：</p>
<pre>@Model.ApiUserClaimsJson</pre>
<p>客户端用户的Claims：</p>
<pre>@Model.ClientUserClaimsJson</pre>
<p>Assess Token:</p><p>@Model.AccessToken</p>

<p>Refresh Token:</p><p>@Model.RefreshToken</p>
